package com.fr71.project.dm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.fr71.framework.aspectj.lang.annotation.Excel;
import com.fr71.framework.web.domain.BaseEntity;
import springfox.documentation.annotations.ApiIgnore;

/**
 * 异常统计对象 pd_plugin_err
 *
 * @author devzwy
 * @date 2023-07-06
 */
@ApiIgnore
public class PdPluginErr extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 自增id
     */
    @Excel(name = "自增id")
    private Long id;

    /**
     * 报错ip
     */
    @Excel(name = "报错ip")
    private String ip;

    /**
     * 绑定qq
     */
    @Excel(name = "绑定qq")
    private String qq;

    /**
     * 包头
     */
    @Excel(name = "包头")
    private Long head;

    /**
     * 数据
     */
    @Excel(name = "数据")
    private String data;

    /**
     * 版本号
     */
    @Excel(name = "版本号")
    private String version;

    /**
     * 错误时账号数量
     */
    @Excel(name = "错误时账号数量")
    private Long runtimePlayers;

    /**
     * 数据类型
     */
    @Excel(name = "数据类型")
    private String datatype;

    /**
     * 错误内容
     */
    @Excel(name = "错误内容")
    private String runtime;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getIp() {
        return ip;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getQq() {
        return qq;
    }

    public void setHead(Long head) {
        this.head = head;
    }

    public Long getHead() {
        return head;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getData() {
        return data;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getVersion() {
        return version;
    }

    public void setRuntimePlayers(Long runtimePlayers) {
        this.runtimePlayers = runtimePlayers;
    }

    public Long getRuntimePlayers() {
        return runtimePlayers;
    }

    public void setDatatype(String datatype) {
        this.datatype = datatype;
    }

    public String getDatatype() {
        return datatype;
    }

    public void setRuntime(String runtime) {
        this.runtime = runtime;
    }

    public String getRuntime() {
        return runtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("ip", getIp())
                .append("qq", getQq())
                .append("head", getHead())
                .append("data", getData())
                .append("createTime", getCreateTime())
                .append("version", getVersion())
                .append("runtimePlayers", getRuntimePlayers())
                .append("datatype", getDatatype())
                .append("runtime", getRuntime())
                .toString();
    }
}
